import { ElMessageBox } from 'element-plus'

/** 通用 确认框 */
export const basicConfirmBox = (
  message: string,
  title: string = '提示',
  confirmButtonText: string = '确定',
  cancelButtonText: string = '取消'
) => {
  return ElMessageBox.confirm(message, title, {
    confirmButtonText,
    cancelButtonText,
    customClass: 'basic-message-box'
  })
}
